package com.tighunt.multiimageselector.util;

/**
 * 类描述:
 * <p>
 * 创建者:Created by LiuChuang
 * 创建日期: on 2017/8/16.
 */

public class Utils {

    public static String getTime(int duration) {
        int min = (duration / 1000) / 60;
        int sec = (duration / 1000) % 60;
        if(min == 0 && sec == 0 && duration >0){
            sec =1;
        }
        return min + "分" + sec+"秒";
    }

}
